package net.lab1024.sa.admin.module.business.oa.reservation.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 预约记录 实体类
 *
 * @Author TianYuan
 * @Date 2025-07-22 16:21:55
 * @Copyright TianYuan
 */

@Data
@TableName("t_oa_reservation")
public class ReservationEntity {

    /**
     * 预约ID
     */
    @TableId(type = IdType.AUTO)
    private Long reservationId;

    /**
     * 企业ID
     */
    private Long enterpriseId;

    /**
     * 企业名称
     */
    private String enterpriseName;

    /**
     * 预约类型
     */
    private String reservationType;

    /**
     * 预约人姓名
     */
    private String reservationUser;

    /**
     * 预约人电话
     */
    private String reservationPhone;

    /**
     * 预约代码
     */
    private String reservationCode;

    /**
     * 预约时间
     */
    private LocalDateTime reservationTime;

    /**
     * 预约状态
     */
    private String reservationState;

    /**
     * 附件资料1
     */
    private String reservationFile1;

    /**
     * 附件资料2
     */
    private String reservationFile2;

    /**
     * 附件资料3
     */
    private String reservationFile3;

    /**
     * 附件资料4
     */
    private String reservationFile4;

    /**
     * 附件资料5
     */
    private String reservationFile5;

    /**
     * 是否删除0否 1是
     */
    private Boolean deletedFlag;

    /**
     * 备注
     */
    private String remark;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}
